package com.ad.common.entity;

// default package

import java.util.Date;


/**
 * UserInfo entity. @author MyEclipse Persistence Tools
 */

public class UserInfo  implements java.io.Serializable {

	private static final long serialVersionUID = 5690767752007204526L;
	 private Integer userId;
     private User user;
     private String userIcon;
     private String userRealname;
     private String company;
     private String mobile;
     private String email;
     private String webSite;
     private String companyAddr;
     private String phone;
     private String fax;
     private String qq;
     private String alipay;
     private String bankName;
     private String bankCardNumber;
     private Date birthday;
     private int sex;

    /** default constructor */
    public UserInfo() {
    }

	/** minimal constructor */
    public UserInfo(User user) {
        this.user = user;
    }
    
    /** full constructor */
    public UserInfo(User user, String userIcon, String userRealname, String company, String mobile, String email, String webSite, String companyAddr, String phone, String fax, String qq, String alipay, String bankName, String bankCardNumber, Date birthday, Byte sex) {
        this.user = user;
        this.userIcon = userIcon;
        this.userRealname = userRealname;
        this.company = company;
        this.mobile = mobile;
        this.email = email;
        this.webSite = webSite;
        this.companyAddr = companyAddr;
        this.phone = phone;
        this.fax = fax;
        this.qq = qq;
        this.alipay = alipay;
        this.bankName = bankName;
        this.bankCardNumber = bankCardNumber;
        this.birthday = birthday;
        this.sex = sex;
    }

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getUserIcon() {
		return userIcon;
	}

	public void setUserIcon(String userIcon) {
		this.userIcon = userIcon;
	}

	public String getUserRealname() {
		return userRealname;
	}

	public void setUserRealname(String userRealname) {
		this.userRealname = userRealname;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWebSite() {
		return webSite;
	}

	public void setWebSite(String webSite) {
		this.webSite = webSite;
	}

	public String getCompanyAddr() {
		return companyAddr;
	}

	public void setCompanyAddr(String companyAddr) {
		this.companyAddr = companyAddr;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getAlipay() {
		return alipay;
	}

	public void setAlipay(String alipay) {
		this.alipay = alipay;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankCardNumber() {
		return bankCardNumber;
	}

	public void setBankCardNumber(String bankCardNumber) {
		this.bankCardNumber = bankCardNumber;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}
    
}